package field_method14;
public class FruitTest {
    public static void main(String[] args) {
        Fruit apple = new Fruit();
        Fruit banana = new Fruit();
        Fruit orange = new Fruit();
        apple.setName("🍎");
        apple.setArea("美国");

        apple.setPrice(2.5);
        banana.setName("🍌");
        banana.setArea("马来西亚");
        banana.setPrice(1.2);
        orange.setName("🍊");
        orange.setArea("中国");
        orange.setPrice(1.8);
    }
}

